package messages.admin;

import info.Admin;
import info.Passenger;
import messages.Message;

public class UpAdmInfoResponeMessage extends Message {

    private boolean isSuccess=false;
    private Admin newAdmin;
    public Admin getNewadmin(){
        return newAdmin;
    }
    public void setNewadmin(Admin newAdmin) {
        this.newAdmin = newAdmin;
    }

    public UpAdmInfoResponeMessage() {
        super(MSG_TYPE.MSG_UPADMINFO_ACK);
    }
    public boolean isSuccess() {
        return isSuccess;
    }
    public void setSuccess(boolean success) {
        isSuccess = success;
    }
}
